import { computed } from 'vue'
import { useI18n } from 'vue-i18n'
import type { FormItemProps } from 'ant-design-vue'

export const useSearchConfig = () => {
  const { t } = useI18n()
  
  return computed<FormItemProps[]>(() => [
    {
      label: t('setting.configName'),
      name: 'configName'
    },
    {
      label: t('setting.configKey'),
      name: 'configKey'
    }
  ])
} 